package com.woniuxy.gateway.exception.movieSession;

public enum MovieSessionExceptionCode {
    MOVIE_SESSION_HAVE_CINEMA_NOT_FOUND(80001,"有放映厅信息没查到"),
    MOVIE_SESSION_HAVE_CINEMA_STATE_ERROR(80009,"有放映厅状态异常"),
    MOVIE_SESSION_HAVE_MOVIE_NOT_FOUND(80010,"有电影信息没查到"),
    MOVIE_SESSION_HAVE_MOVIE_STATE_ERROR(80011,"有电影状态异常"),
    MOVIE_SESSION_HAVE_SEAT_NOT_FOUND(80012,"有座位信息没查到"),
    MOVIE_SESSION_HAVE_TIME_CONFLICT(80013,"场次存在放映时间冲突"),
    MOVIE_SESSION_HAVE_SESSION_NOT_FOUND(80014,"有场次信息没查到"),
    MOVIE_SESSION_HAVE_SESSION_STATE_ERROR(80015,"有场次信息状态错误"),
    //    MOVIE_SESSION_HAVE_SEAT_STATE_ERROR(80010,"有座位状态异常"),
    MOVIE_SESSION_HAD_EXIST(80002,"该电影已存在"),
    MOVIE_SESSION_STATE_ERROR(80003,"电影状态异常"),
    MOVIE_SESSION_TIME_ERROR(80004,"电影时长错误"),
    MOVIE_SESSION_DATE_ERROR(80005,"电影放映日期错误"),
    MOVIE_SESSION_COVER_UPDATE_ERROR(80008,"电影封面上传错误"),
    ;
    

    private Integer code;
    private String message;

    MovieSessionExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
